PulseCanvas / app · pulsecanvas.ai / Sources / PulseCanvas / Resources / ProjectM / Presets / Hypnotic / Polar Rolling / suksma - martin - neon space ps3 - phutaeunt.milk
| 1 | MILKDROP_PRESET_VERSION=201 |
| 2 | PSVERSION=3 |
| 3 | PSVERSION_WARP=2 |
| 4 | PSVERSION_COMP=3 |
| 5 | [preset00] |
| 6 | fRating=5.000000 |
| 7 | fGammaAdj=1.980 |
| 8 | fDecay=0.500 |
| 9 | fVideoEchoZoom=1.000 |
| 10 | fVideoEchoAlpha=0.500 |
| 11 | nVideoEchoOrientation=3 |
| 12 | nWaveMode=7 |
| 13 | bAdditiveWaves=1 |
| 14 | bWaveDots=0 |
| 15 | bWaveThick=0 |
| 16 | bModWaveAlphaByVolume=1 |
| 17 | bMaximizeWaveColor=0 |
| 18 | bTexWrap=1 |
| 19 | bDarkenCenter=0 |
| 20 | bRedBlueStereo=0 |
| 21 | bBrighten=0 |
| 22 | bDarken=1 |
| 23 | bSolarize=0 |
| 24 | bInvert=0 |
| 25 | fWaveAlpha=0.001 |
| 26 | fWaveScale=1.157 |
| 27 | fWaveSmoothing=0.630 |
| 28 | fWaveParam=0.000 |
| 29 | fModWaveAlphaStart=0.710 |
| 30 | fModWaveAlphaEnd=1.300 |
| 31 | fWarpAnimSpeed=1.459 |
| 32 | fWarpScale=2.007 |
| 33 | fZoomExponent=1.00000 |
| 34 | fShader=0.000 |
| 35 | zoom=0.99990 |
| 36 | rot=0.00000 |
| 37 | cx=0.500 |
| 38 | cy=0.500 |
| 39 | dx=0.00000 |
| 40 | dy=0.00000 |
| 41 | warp=0.01000 |
| 42 | sx=0.99990 |
| 43 | sy=1.00000 |
| 44 | wave_r=0.650 |
| 45 | wave_g=0.650 |
| 46 | wave_b=0.650 |
| 47 | wave_x=0.500 |
| 48 | wave_y=0.500 |
| 49 | ob_size=0.000 |
| 50 | ob_r=0.000 |
| 51 | ob_g=0.000 |
| 52 | ob_b=0.200 |
| 53 | ob_a=1.000 |
| 54 | ib_size=0.000 |
| 55 | ib_r=0.000 |
| 56 | ib_g=0.000 |
| 57 | ib_b=0.250 |
| 58 | ib_a=1.000 |
| 59 | nMotionVectorsX=64.000 |
| 60 | nMotionVectorsY=48.000 |
| 61 | mv_dx=0.000 |
| 62 | mv_dy=0.000 |
| 63 | mv_l=0.000 |
| 64 | mv_r=1.000 |
| 65 | mv_g=1.000 |
| 66 | mv_b=1.000 |
| 67 | mv_a=0.000 |
| 68 | b1n=0.000 |
| 69 | b2n=0.000 |
| 70 | b3n=0.000 |
| 71 | b1x=1.000 |
| 72 | b2x=1.000 |
| 73 | b3x=1.000 |
| 74 | b1ed=0.000 |
| 75 | wavecode_0_enabled=0 |
| 76 | wavecode_0_samples=512 |
| 77 | wavecode_0_sep=0 |
| 78 | wavecode_0_bSpectrum=0 |
| 79 | wavecode_0_bUseDots=0 |
| 80 | wavecode_0_bDrawThick=1 |
| 81 | wavecode_0_bAdditive=0 |
| 82 | wavecode_0_scaling=1.00000 |
| 83 | wavecode_0_smoothing=0.50000 |
| 84 | wavecode_0_r=1.000 |
| 85 | wavecode_0_g=1.000 |
| 86 | wavecode_0_b=1.000 |
| 87 | wavecode_0_a=1.000 |
| 88 | wave_0_per_point1=ma=ma+(above(bass,1)*3.1415*.01*bass); |
| 89 | wave_0_per_point2=ma=ma-(above(treb,1)*3.1415*.01*treb); |
| 90 | wave_0_per_point3= |
| 91 | wave_0_per_point4=mx=mx+(.0002*cos(ma)); |
| 92 | wave_0_per_point5=my=my+(.0002*sin(ma)); |
| 93 | wave_0_per_point6= |
| 94 | wave_0_per_point7=mx=if(above(mx,.9),(.9-mx),mx); |
| 95 | wave_0_per_point8=my=if(above(my,.9),(.9-my),my); |
| 96 | wave_0_per_point9=mx=if(below(mx,.1),(.9+mx),mx); |
| 97 | wave_0_per_point10=my=if(below(my,.1),(.9+my),my); |
| 98 | wave_0_per_point11= |
| 99 | wave_0_per_point12=x=mx; |
| 100 | wave_0_per_point13=y=my; |
| 101 | wave_0_per_point14= |
| 102 | wave_0_per_point15=a=(above(bass+mid+treb,.8)); |
| 103 | wavecode_1_enabled=0 |
| 104 | wavecode_1_samples=512 |
| 105 | wavecode_1_sep=0 |
| 106 | wavecode_1_bSpectrum=0 |
| 107 | wavecode_1_bUseDots=0 |
| 108 | wavecode_1_bDrawThick=1 |
| 109 | wavecode_1_bAdditive=0 |
| 110 | wavecode_1_scaling=1.00000 |
| 111 | wavecode_1_smoothing=0.50000 |
| 112 | wavecode_1_r=1.000 |
| 113 | wavecode_1_g=1.000 |
| 114 | wavecode_1_b=1.000 |
| 115 | wavecode_1_a=1.000 |
| 116 | wave_1_per_point1=ma=ma+(above(bass,1)*3.1415*.05*bass); |
| 117 | wave_1_per_point2=ma=ma-(above(mid,1)*3.1415*.05*mid); |
| 118 | wave_1_per_point3= |
| 119 | wave_1_per_point4=mx=mx+(.0001*cos(ma)); |
| 120 | wave_1_per_point5=my=my+(.0001*sin(ma)); |
| 121 | wave_1_per_point6= |
| 122 | wave_1_per_point7=mx=if(above(mx,.9),(.9-mx),mx); |
| 123 | wave_1_per_point8=my=if(above(my,.9),(.9-my),my); |
| 124 | wave_1_per_point9=mx=if(below(mx,.1),(.9+mx),mx); |
| 125 | wave_1_per_point10=my=if(below(my,.1),(.9+my),my); |
| 126 | wave_1_per_point11= |
| 127 | wave_1_per_point12=x=mx; |
| 128 | wave_1_per_point13=y=my; |
| 129 | wave_1_per_point14= |
| 130 | wave_1_per_point15=a=(above(bass+mid+treb,.1)); |
| 131 | wavecode_2_enabled=0 |
| 132 | wavecode_2_samples=512 |
| 133 | wavecode_2_sep=0 |
| 134 | wavecode_2_bSpectrum=0 |
| 135 | wavecode_2_bUseDots=0 |
| 136 | wavecode_2_bDrawThick=1 |
| 137 | wavecode_2_bAdditive=0 |
| 138 | wavecode_2_scaling=1.00000 |
| 139 | wavecode_2_smoothing=0.50000 |
| 140 | wavecode_2_r=1.000 |
| 141 | wavecode_2_g=1.000 |
| 142 | wavecode_2_b=1.000 |
| 143 | wavecode_2_a=1.000 |
| 144 | wave_2_per_point1=ma=ma+(above(mid,1)*3.1415*.01*mid); |
| 145 | wave_2_per_point2=ma=ma-(above(treb,1)*3.1415*.01*treb); |
| 146 | wave_2_per_point3= |
| 147 | wave_2_per_point4=mx=mx+(.0004*cos(ma)); |
| 148 | wave_2_per_point5=my=my+(.0004*sin(ma)); |
| 149 | wave_2_per_point6= |
| 150 | wave_2_per_point7=mx=if(above(mx,.9),(.9-mx),mx); |
| 151 | wave_2_per_point8=my=if(above(my,.9),(.9-my),my); |
| 152 | wave_2_per_point9=mx=if(below(mx,.1),(.9+mx),mx); |
| 153 | wave_2_per_point10=my=if(below(my,.1),(.9+my),my); |
| 154 | wave_2_per_point11= |
| 155 | wave_2_per_point12=x=mx; |
| 156 | wave_2_per_point13=y=my; |
| 157 | wave_2_per_point14= |
| 158 | wave_2_per_point15=a=(above(bass+mid+treb,.3)); |
| 159 | wavecode_3_enabled=0 |
| 160 | wavecode_3_samples=512 |
| 161 | wavecode_3_sep=0 |
| 162 | wavecode_3_bSpectrum=0 |
| 163 | wavecode_3_bUseDots=0 |
| 164 | wavecode_3_bDrawThick=1 |
| 165 | wavecode_3_bAdditive=0 |
| 166 | wavecode_3_scaling=1.00000 |
| 167 | wavecode_3_smoothing=0.50000 |
| 168 | wavecode_3_r=1.000 |
| 169 | wavecode_3_g=1.000 |
| 170 | wavecode_3_b=1.000 |
| 171 | wavecode_3_a=1.000 |
| 172 | wave_3_per_point1=ma=ma+(above(bass,.5)*3.1415*.02*bass); |
| 173 | wave_3_per_point2=ma=ma-(above(treb,.5)*3.1415*.02*treb); |
| 174 | wave_3_per_point3= |
| 175 | wave_3_per_point4=mx=mx+(.0008*cos(ma)); |
| 176 | wave_3_per_point5=my=my+(.0008*sin(ma)); |
| 177 | wave_3_per_point6= |
| 178 | wave_3_per_point7=mx=if(above(mx,.9),(.9-mx),mx); |
| 179 | wave_3_per_point8=my=if(above(my,.9),(.9-my),my); |
| 180 | wave_3_per_point9=mx=if(below(mx,.1),(.9+mx),mx); |
| 181 | wave_3_per_point10=my=if(below(my,.1),(.9+my),my); |
| 182 | wave_3_per_point11= |
| 183 | wave_3_per_point12=x=mx; |
| 184 | wave_3_per_point13=y=my; |
| 185 | wave_3_per_point14= |
| 186 | wave_3_per_point15=a=(above(bass+mid+treb,.2)); |
| 187 | shapecode_0_enabled=0 |
| 188 | shapecode_0_sides=14 |
| 189 | shapecode_0_additive=0 |
| 190 | shapecode_0_thickOutline=0 |
| 191 | shapecode_0_textured=0 |
| 192 | shapecode_0_num_inst=512 |
| 193 | shapecode_0_x=0.500 |
| 194 | shapecode_0_y=0.500 |
| 195 | shapecode_0_rad=0.10260 |
| 196 | shapecode_0_ang=0.00000 |
| 197 | shapecode_0_tex_ang=0.62832 |
| 198 | shapecode_0_tex_zoom=1.00000 |
| 199 | shapecode_0_r=1.000 |
| 200 | shapecode_0_g=0.000 |
| 201 | shapecode_0_b=0.000 |
| 202 | shapecode_0_a=1.000 |
| 203 | shapecode_0_r2=1.000 |
| 204 | shapecode_0_g2=0.000 |
| 205 | shapecode_0_b2=0.000 |
| 206 | shapecode_0_a2=1.000 |
| 207 | shapecode_0_border_r=1.000 |
| 208 | shapecode_0_border_g=1.000 |
| 209 | shapecode_0_border_b=1.000 |
| 210 | shapecode_0_border_a=0.000 |
| 211 | shape_0_per_frame1=ma=ma+(above(bass,1)*3.1415*.01*bass); |
| 212 | shape_0_per_frame2=ma=ma-(above(treb,1)*3.1415*.01*treb); |
| 213 | shape_0_per_frame3= |
| 214 | shape_0_per_frame4=mx=mx+(.0002*cos(ma)); |
| 215 | shape_0_per_frame5=my=my+(.0002*sin(ma)); |
| 216 | shape_0_per_frame6= |
| 217 | shape_0_per_frame7=mx=if(above(mx,.9),(.9-mx),mx); |
| 218 | shape_0_per_frame8=my=if(above(my,.9),(.9-my),my); |
| 219 | shape_0_per_frame9=mx=if(below(mx,.1),(.9+mx),mx); |
| 220 | shape_0_per_frame10=my=if(below(my,.1),(.9+my),my); |
| 221 | shape_0_per_frame11= |
| 222 | shape_0_per_frame12=x=mx; |
| 223 | shape_0_per_frame13=y=my; |
| 224 | shape_0_per_frame14=rad=(bass+treb)/100; |
| 225 | shape_0_per_frame15=a=(above(bass+mid+treb,.8)); |
| 226 | shape_0_per_frame16=r=int(rand(100))/100; |
| 227 | shape_0_per_frame17=g=int(rand(100))/100; |
| 228 | shape_0_per_frame18=b=int(rand(100))/100; |
| 229 | shape_0_per_frame19=r2=int(rand(100))/100; |
| 230 | shape_0_per_frame20=g2=int(rand(100))/100; |
| 231 | shape_0_per_frame21=b2=int(rand(100))/100; |
| 232 | shape_0_per_frame22=r_border=int(rand(100))/100; |
| 233 | shape_0_per_frame23=g_border=int(rand(100))/100; |
| 234 | shape_0_per_frame24=b_border=int(rand(100))/100; |
| 235 | shapecode_1_enabled=0 |
| 236 | shapecode_1_sides=23 |
| 237 | shapecode_1_additive=0 |
| 238 | shapecode_1_thickOutline=0 |
| 239 | shapecode_1_textured=0 |
| 240 | shapecode_1_num_inst=1024 |
| 241 | shapecode_1_x=0.500 |
| 242 | shapecode_1_y=0.500 |
| 243 | shapecode_1_rad=0.10262 |
| 244 | shapecode_1_ang=0.43982 |
| 245 | shapecode_1_tex_ang=0.62832 |
| 246 | shapecode_1_tex_zoom=1.00000 |
| 247 | shapecode_1_r=1.000 |
| 248 | shapecode_1_g=0.000 |
| 249 | shapecode_1_b=0.000 |
| 250 | shapecode_1_a=0.500 |
| 251 | shapecode_1_r2=1.000 |
| 252 | shapecode_1_g2=0.000 |
| 253 | shapecode_1_b2=0.000 |
| 254 | shapecode_1_a2=0.500 |
| 255 | shapecode_1_border_r=1.000 |
| 256 | shapecode_1_border_g=1.000 |
| 257 | shapecode_1_border_b=1.000 |
| 258 | shapecode_1_border_a=0.000 |
| 259 | shape_1_per_frame1=ma=ma+(above(bass,1)*3.1415*.05*bass); |
| 260 | shape_1_per_frame2=ma=ma-(above(mid,1)*3.1415*.05*mid); |
| 261 | shape_1_per_frame3= |
| 262 | shape_1_per_frame4=mx=mx+(.0001*cos(ma)); |
| 263 | shape_1_per_frame5=my=my+(.0001*sin(ma)); |
| 264 | shape_1_per_frame6= |
| 265 | shape_1_per_frame7=mx=if(above(mx,.9),(.9-mx),mx); |
| 266 | shape_1_per_frame8=my=if(above(my,.9),(.9-my),my); |
| 267 | shape_1_per_frame9=mx=if(below(mx,.1),(.9+mx),mx); |
| 268 | shape_1_per_frame10=my=if(below(my,.1),(.9+my),my); |
| 269 | shape_1_per_frame11= |
| 270 | shape_1_per_frame12=x=mx; |
| 271 | shape_1_per_frame13=y=my; |
| 272 | shape_1_per_frame14=rad=(bass+treb)/75; |
| 273 | shape_1_per_frame15=a=(above(bass+mid+treb,.1)); |
| 274 | shape_1_per_frame16=r=int(rand(100))/100; |
| 275 | shape_1_per_frame17=g=int(rand(100))/100; |
| 276 | shape_1_per_frame18=b=int(rand(100))/100; |
| 277 | shape_1_per_frame19=r2=int(rand(100))/100; |
| 278 | shape_1_per_frame20=g2=int(rand(100))/100; |
| 279 | shape_1_per_frame21=b2=int(rand(100))/100; |
| 280 | shape_1_per_frame22=r_border=int(rand(100))/100; |
| 281 | shape_1_per_frame23=g_border=int(rand(100))/100; |
| 282 | shape_1_per_frame24=b_border=int(rand(100))/100; |
| 283 | shapecode_2_enabled=0 |
| 284 | shapecode_2_sides=14 |
| 285 | shapecode_2_additive=1 |
| 286 | shapecode_2_thickOutline=0 |
| 287 | shapecode_2_textured=0 |
| 288 | shapecode_2_num_inst=256 |
| 289 | shapecode_2_x=0.500 |
| 290 | shapecode_2_y=0.500 |
| 291 | shapecode_2_rad=0.20269 |
| 292 | shapecode_2_ang=0.00000 |
| 293 | shapecode_2_tex_ang=0.62832 |
| 294 | shapecode_2_tex_zoom=1.00000 |
| 295 | shapecode_2_r=1.000 |
| 296 | shapecode_2_g=0.000 |
| 297 | shapecode_2_b=0.000 |
| 298 | shapecode_2_a=1.000 |
| 299 | shapecode_2_r2=1.000 |
| 300 | shapecode_2_g2=0.000 |
| 301 | shapecode_2_b2=0.000 |
| 302 | shapecode_2_a2=1.000 |
| 303 | shapecode_2_border_r=1.000 |
| 304 | shapecode_2_border_g=1.000 |
| 305 | shapecode_2_border_b=1.000 |
| 306 | shapecode_2_border_a=0.000 |
| 307 | shape_2_per_frame1=ma=ma+(above(mid,1)*3.1415*.01*mid); |
| 308 | shape_2_per_frame2=ma=ma-(above(treb,1)*3.1415*.01*treb); |
| 309 | shape_2_per_frame3= |
| 310 | shape_2_per_frame4=mx=mx+(.0004*cos(ma)); |
| 311 | shape_2_per_frame5=my=my+(.0004*sin(ma)); |
| 312 | shape_2_per_frame6= |
| 313 | shape_2_per_frame7=mx=if(above(mx,.9),(.9-mx),mx); |
| 314 | shape_2_per_frame8=my=if(above(my,.9),(.9-my),my); |
| 315 | shape_2_per_frame9=mx=if(below(mx,.1),(.9+mx),mx); |
| 316 | shape_2_per_frame10=my=if(below(my,.1),(.9+my),my); |
| 317 | shape_2_per_frame11= |
| 318 | shape_2_per_frame12=x=mx; |
| 319 | shape_2_per_frame13=y=my; |
| 320 | shape_2_per_frame14= |
| 321 | shape_2_per_frame15=a=(above(bass+mid+treb,.3)); |
| 322 | shapecode_3_enabled=0 |
| 323 | shapecode_3_sides=14 |
| 324 | shapecode_3_additive=1 |
| 325 | shapecode_3_thickOutline=0 |
| 326 | shapecode_3_textured=0 |
| 327 | shapecode_3_num_inst=256 |
| 328 | shapecode_3_x=0.500 |
| 329 | shapecode_3_y=0.500 |
| 330 | shapecode_3_rad=0.22389 |
| 331 | shapecode_3_ang=0.00000 |
| 332 | shapecode_3_tex_ang=0.62832 |
| 333 | shapecode_3_tex_zoom=1.00000 |
| 334 | shapecode_3_r=1.000 |
| 335 | shapecode_3_g=0.000 |
| 336 | shapecode_3_b=0.000 |
| 337 | shapecode_3_a=1.000 |
| 338 | shapecode_3_r2=1.000 |
| 339 | shapecode_3_g2=0.000 |
| 340 | shapecode_3_b2=0.000 |
| 341 | shapecode_3_a2=1.000 |
| 342 | shapecode_3_border_r=1.000 |
| 343 | shapecode_3_border_g=1.000 |
| 344 | shapecode_3_border_b=1.000 |
| 345 | shapecode_3_border_a=0.000 |
| 346 | shape_3_per_frame1=ma=ma+(above(bass,.5)*3.1415*.02*bass); |
| 347 | shape_3_per_frame2=ma=ma-(above(treb,.5)*3.1415*.02*treb); |
| 348 | shape_3_per_frame3= |
| 349 | shape_3_per_frame4=mx=mx+(.0008*cos(ma)); |
| 350 | shape_3_per_frame5=my=my+(.0008*sin(ma)); |
| 351 | shape_3_per_frame6= |
| 352 | shape_3_per_frame7=mx=if(above(mx,.9),(.9-mx),mx); |
| 353 | shape_3_per_frame8=my=if(above(my,.9),(.9-my),my); |
| 354 | shape_3_per_frame9=mx=if(below(mx,.1),(.9+mx),mx); |
| 355 | shape_3_per_frame10=my=if(below(my,.1),(.9+my),my); |
| 356 | shape_3_per_frame11= |
| 357 | shape_3_per_frame12=x=mx; |
| 358 | shape_3_per_frame13=y=my; |
| 359 | shape_3_per_frame14= |
| 360 | shape_3_per_frame15=a=(above(bass+mid+treb,.2)); |
| 361 | per_frame_init_1=p1 = 2000; p2 = 200; p3=50; |
| 362 | per_frame_1=dec_med = pow (0.9, 30/fps); |
| 363 | per_frame_2=dec_slow = pow (0.9, 30/fps); |
| 364 | per_frame_3=beat = max (max (bass, mid), treb); |
| 365 | per_frame_4=avg = avg*dec_slow + beat*(1-dec_slow); |
| 366 | per_frame_5=is_beat = above(beat, .1+avg+peak) * above (time, t0+.2); |
| 367 | per_frame_6=t0 = is_beat*time + (1-is_beat)*t0; |
| 368 | per_frame_7=peak = is_beat * beat + (1-is_beat)*peak*dec_med; |
| 369 | per_frame_8=index = (index + is_beat) %16; |
| 370 | per_frame_9=index2 = (index2 + is_beat*bnot(index))%5; |
| 371 | per_frame_10=monitor = index2; |
| 372 | per_frame_11=q20 = avg; |
| 373 | per_frame_12=q21 = beat; |
| 374 | per_frame_13=q22 = peak; |
| 375 | per_frame_14=q23 = index; |
| 376 | per_frame_15=q24 = is_beat; |
| 377 | per_frame_16=q26 = bass + mid + treb; |
| 378 | per_frame_17=q27 = index; |
| 379 | per_frame_18=q28 = index2; |
| 380 | per_frame_19=k1 = is_beat*equal(index%2,0); |
| 381 | per_frame_20=p1 = k1*(p1+1) + (1-k1)*p1; |
| 382 | per_frame_21=p2 = dec_med * p2+ (1-dec_med)*p1; |
| 383 | per_frame_22=rott_ = p2 * 3.1416/4; |
| 384 | per_frame_23=rott = rott + .2*30/fps*q2; |
| 385 | per_frame_24=q1 = cos(rott); |
| 386 | per_frame_25=q2 = sin(rott); |
| 387 | per_frame_26=q3 = -q2; |
| 388 | per_frame_27=q4 = q1; |
| 389 | per_frame_28=ran = bnot(q24)*ran + q24 * (int(rand(50))-24); |
| 390 | per_frame_29=tran = tan(ran); |
| 391 | per_frame_30=tran = max(tran,-5); |
| 392 | per_frame_31=tran = min(tran,5); |
| 393 | per_frame_32=trel = trel + .02*30/fps*tran+q24; |
| 394 | per_frame_33=q5 = cos(trel); |
| 395 | per_frame_34=q6 = sin(trel); |
| 396 | per_frame_35=q7 = -q6; |
| 397 | per_frame_36=q8 = q5; |
| 398 | per_frame_37=movex = movex*dec_slow + .1*sin(rott)*30/fps; |
| 399 | per_frame_38=q9 = movex; |
| 400 | per_frame_39=spd = spd*bnot(q24) + q26*q24; |
| 401 | per_frame_40=movez = movez + .005*30/fps*spd; |
| 402 | per_frame_41=q30 = movez; |
| 403 | per_frame_42=//q30 = .3* (sin(time/45) + 1.5); |
| 404 | per_frame_43=mv_x = 20; |
| 405 | per_frame_44=mv_y = 15; |
| 406 | per_frame_45=mv_a = .1; |
| 407 | per_frame_46=mv_l = 0; |
| 408 | per_frame_47=q18 = sin(time/7); |
| 409 | per_frame_48=q19 = sin(time/11); |
| 410 | per_frame_49=q32 = pow(0.98, 30/fps); //fade |
| 411 | per_frame_50= |
| 412 | per_frame_51=// coordinates spiral 1 |
| 413 | per_frame_52=q10 = 0; // X |
| 414 | per_frame_53=q11 = -0.5; // Y |
| 415 | per_frame_54= |
| 416 | per_frame_55=// coordinates spiral 2 |
| 417 | per_frame_56=q12 = 0; |
| 418 | per_frame_57=q13 = 0.5; |
| 419 | per_frame_58= |
| 420 | per_frame_59=q14 = 0.5/asin(1); // pi/4 |
| 421 | per_frame_60= |
| 422 | per_frame_61=q15 = time*0.1; // rotation |
| 423 | per_frame_62=q16 = -time*0.1; // growth |
| 424 | per_pixel_1=zoom = 1; |
| 425 | per_pixel_2=warp = .1; |
| 426 | warp_1=`sampler sampler_worms; |
| 427 | warp_2=`float3 color, mus; |
| 428 | warp_3=`float dx,dy; |
| 429 | warp_4=`shader_body { |
| 430 | warp_5=`float2 uv1 = (uv-.5) * aspect.xy; |
| 431 | warp_6=` |
| 432 | warp_7=` |
| 433 | warp_8=`float2 uv6 = uv1; |
| 434 | warp_9=`float z = q29*2*length(uv1)+rand_frame * 64; |
| 435 | warp_10=`float2 d = normalize(uv1); |
| 436 | warp_11=`float2 rs = clamp(tan(z)*d,-8,8); |
| 437 | warp_12=`uv += .004*GetBlur1(uv)*float2 (0,1);//rs/20; |
| 438 | warp_13=` |
| 439 | warp_14=` |
| 440 | warp_15=`uv6 = .4*sin(uv1*18*rand_frame); |
| 441 | warp_16=`mus = .051/(length(uv6)); |
| 442 | warp_17=`mus *= float3 (treb*.5,bass*.5,mid*.5); |
| 443 | warp_18=` |
| 444 | warp_19=`float3 blur = GetBlur2(frac(uv)); |
| 445 | warp_20=` |
| 446 | warp_21=`float3 crisp= tex2D(sampler_main,uv); |
| 447 | warp_22=` |
| 448 | warp_23=`float3 ret1 = crisp - blur*.03 + .15*mus; |
| 449 | warp_24=`float2 uv2 = (uv_orig-.5)-float3(bass*.1,treb*.1+0.1*q25,mid*.1); |
| 450 | warp_25=` |
| 451 | warp_26=`q25 = 1; |
| 452 | warp_27=`ret = q25*(ret1*.99-.02) + (1-q25)* GetPixel(uv_orig); |
| 453 | warp_28=` |
| 454 | warp_29=`} |
| 455 | comp_1=`float3 ret1, neu; |
| 456 | comp_2=`float2 uv2,uv3; |
| 457 | comp_3=`shader_body |
| 458 | comp_4=`{ |
| 459 | comp_5=`float2 uv2; |
| 460 | comp_6=`float ang2, c, s; |
| 461 | comp_7=` |
| 462 | comp_8=`uv -= 0.5; |
| 463 | comp_9=`uv *= aspect.xy*4; |
| 464 | comp_10=` |
| 465 | comp_11=`uv = mul(uv, float2x2(_qb)); |
| 466 | comp_12=` |
| 467 | comp_13=` |
| 468 | comp_14=`float dist = 1; |
| 469 | comp_15=`float inten = 1; |
| 470 | comp_16=`ret1 = 0; |
| 471 | comp_17=`int anz = 4; |
| 472 | comp_18=`float n = anz; |
| 473 | comp_19=`while (n >= 0) { |
| 474 | comp_20=` ang2 = 1*n/anz; |
| 475 | comp_21=` c = cos(ang2); |
| 476 | comp_22=` s = sin(ang2); |
| 477 | comp_23=` uv2.x = uv.x*c - uv.y*s; |
| 478 | comp_24=` uv2.y = uv.x*s + uv.y*c; |
| 479 | comp_25=`//uv2 = uv; |
| 480 | comp_26=` dist = 1-frac(1.0/anz*n+q30); //evtl sqrt ! |
| 481 | comp_27=` inten = sqrt(dist)*(1-dist)*2; |
| 482 | comp_28=` |
| 483 | comp_29=` |
| 484 | comp_30=`float2 numerator, denominator, fraction; |
| 485 | comp_31=` |
| 486 | comp_32=`/*** Flexis cleaned up Moebius spiral code ***/ |
| 487 | comp_33=` |
| 488 | comp_34=`float cutoff = 0.97; |
| 489 | comp_35=`int n1 = -1; |
| 490 | comp_36=`float s = .5; |
| 491 | comp_37=` |
| 492 | comp_38=` float2 c = (uv2-0.5)*2*aspect.wz; |
| 493 | comp_39=` numerator = (c + float2(q10,q11))*64; |
| 494 | comp_40=` denominator = c + float2(q12,q13); |
| 495 | comp_41=` fraction = float2( numerator.x*denominator.x + numerator.y*denominator.y, |
| 496 | comp_42=` numerator.y*denominator.x - numerator.x*denominator.y)/ |
| 497 | comp_43=` (denominator.x*denominator.x + denominator.y*denominator.y); |
| 498 | comp_44=` c = fraction-0.5; |
| 499 | comp_45=` float1 ang_hq = n*n1*atan2(c.x,c.y); |
| 500 | comp_46=` float2 spiral = float2(n+ang_hq*q14+q15,n+s*aspect.w*log(length(c))+ang_hq*q14+q16); |
| 501 | comp_47=` spiral = 0.5 + (0.5 - abs( frac( spiral * 0.5 ) * 2.0 - 1.0 ))*cutoff; // mirror |
| 502 | comp_48=` |
| 503 | comp_49=`/**********************************************/ |
| 504 | comp_50=`float3 cmul = float3(dist,1-dist,1-(dist-.5)*(dist-.5)*4); |
| 505 | comp_51=` neu = tex2D(sampler_main,spiral) +q6*GetBlur1(frac(spiral*1.04)).bgr*1; |
| 506 | comp_52=` |
| 507 | comp_53=`// neu = neu*cmul; |
| 508 | comp_54=` ret1 = max(ret1,neu*inten); |
| 509 | comp_55=`n--; |
| 510 | comp_56=`} |
| 511 | comp_57=` |
| 512 | comp_58=`ret1 = lerp(ret1,ret1.gbr,q26/6); |
| 513 | comp_59=`ret = ret1*2 + (1-rad)*q26/3*GetPixel(q5/2+uv*(2-rad)); |
| 514 | comp_60=` |
| 515 | comp_61=`} |